//
//  NewsCell.m
//  NoNameAmazing
//
//  Created by hero on 2017/9/28.
//  Copyright © 2017年 北京执行力科技有限公司. All rights reserved.
//

#import "NewsCell.h"
#import <UIImageView+WebCache.h>
@implementation NewsCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code

}

- (void)setModel:(NewsModel *)model{
    _model = model;
    NSString *BaseURL = [us objectForKey:baseUrl];
    NSString * headImage = [NSString stringWithFormat:@"%@%@",BaseURL,model.imgUrl];

    [self.iconImg sd_setImageWithURL:[NSURL URLWithString:headImage]];
    self.titleLabel.text = model.xxbt;
    self.timeLabel.text = model.fbrq;
}
@end
